Optimal. Leaf size=270 \[ -\frac {(2-e x)^{3/4} \sqrt [4]{2+e x}}{\sqrt [4]{3} e}+\frac {\sqrt {2} \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt [4]{3} e}-\frac {\sqrt {2} \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt [4]{3} e}-\frac {\log \left (\frac {\sqrt {6-3 e x}-\sqrt {6} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {3} \sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} \sqrt [4]{3} e}+\frac {\log \left (\frac {\sqrt {6-3 e x}+\sqrt {6} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {3} \sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} \sqrt [4]{3} e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, antiderivative size = 270, normalized size of antiderivative = 1.00, number of steps
used = 13, number of rules used = 10, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {689, 52, 65,
338, 303, 1176, 631, 210, 1179, 642} \begin {gather*} \frac {\sqrt {2} \text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{e x+2}}\right )}{\sqrt [4]{3} e}-\frac {\sqrt {2} \text {ArcTan}\left (\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{e x+2}}+1\right )}{\sqrt [4]{3} e}-\frac {(2-e x)^{3/4} \sqrt [4]{e x+2}}{\sqrt [4]{3} e}-\frac {\log \left (\frac {\sqrt {6-3 e x}+\sqrt {3} \sqrt {e x+2}-\sqrt {6} \sqrt [4]{2-e x} \sqrt [4]{e x+2}}{\sqrt {e x+2}}\right )}{\sqrt {2} \sqrt [4]{3} e}+\frac {\log \left (\frac {\sqrt {6-3 e x}+\sqrt {3} \sqrt {e x+2}+\sqrt {6} \sqrt [4]{2-e x} \sqrt [4]{e x+2}}{\sqrt {e x+2}}\right )}{\sqrt {2} \sqrt [4]{3} e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 210
Rule 303
Rule 338
Rule 631
Rule 642
Rule 689
Rule 1176
Rule 1179
Rubi steps
\begin {align*} \int \frac {\sqrt {2+e x}}{\sqrt [4]{12-3 e^2 x^2}} \, dx &=\int \frac {\sqrt [4]{2+e x}}{\sqrt [4]{6-3 e x}} \, dx\\ &=-\frac {(2-e x)^{3/4} \sqrt [4]{2+e x}}{\sqrt [4]{3} e}+\int \frac {1}{\sqrt [4]{6-3 e x} (2+e x)^{3/4}} \, dx\\ &=-\frac {(2-e x)^{3/4} \sqrt [4]{2+e x}}{\sqrt [4]{3} e}-\frac {4 \text {Subst}\left (\int \frac {x^2}{\left (4-\frac {x^4}{3}\right )^{3/4}} \, dx,x,\sqrt [4]{6-3 e x}\right )}{3 e}\\ &=-\frac {(2-e x)^{3/4} \sqrt [4]{2+e x}}{\sqrt [4]{3} e}-\frac {4 \text {Subst}\left (\int \frac {x^2}{1+\frac {x^4}{3}} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{3 e}\\ &=-\frac {(2-e x)^{3/4} \sqrt [4]{2+e x}}{\sqrt [4]{3} e}+\frac {2 \text {Subst}\left (\int \frac {\sqrt {3}-x^2}{1+\frac {x^4}{3}} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{3 e}-\frac {2 \text {Subst}\left (\int \frac {\sqrt {3}+x^2}{1+\frac {x^4}{3}} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{3 e}\\ &=-\frac {(2-e x)^{3/4} \sqrt [4]{2+e x}}{\sqrt [4]{3} e}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {3}-\sqrt {2} \sqrt [4]{3} x+x^2} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{e}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {3}+\sqrt {2} \sqrt [4]{3} x+x^2} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{e}-\frac {\text {Subst}\left (\int \frac {\sqrt {2} \sqrt [4]{3}+2 x}{-\sqrt {3}-\sqrt {2} \sqrt [4]{3} x-x^2} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt {2} \sqrt [4]{3} e}-\frac {\text {Subst}\left (\int \frac {\sqrt {2} \sqrt [4]{3}-2 x}{-\sqrt {3}+\sqrt {2} \sqrt [4]{3} x-x^2} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt {2} \sqrt [4]{3} e}\\ &=-\frac {(2-e x)^{3/4} \sqrt [4]{2+e x}}{\sqrt [4]{3} e}-\frac {\log \left (\frac {\sqrt {2-e x}-\sqrt {2} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} \sqrt [4]{3} e}+\frac {\log \left (\frac {\sqrt {2-e x}+\sqrt {2} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} \sqrt [4]{3} e}-\frac {\sqrt {2} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt [4]{3} e}+\frac {\sqrt {2} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt [4]{3} e}\\ &=-\frac {(2-e x)^{3/4} \sqrt [4]{2+e x}}{\sqrt [4]{3} e}+\frac {\sqrt {2} \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt [4]{3} e}-\frac {\sqrt {2} \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt [4]{3} e}-\frac {\log \left (\frac {\sqrt {2-e x}-\sqrt {2} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} \sqrt [4]{3} e}+\frac {\log \left (\frac {\sqrt {2-e x}+\sqrt {2} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} \sqrt [4]{3} e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.44, size = 152, normalized size = 0.56 \begin {gather*} \frac {-\left (4-e^2 x^2\right )^{3/4}-\sqrt {4+2 e x} \tan ^{-1}\left (\frac {\sqrt {4+2 e x} \sqrt [4]{4-e^2 x^2}}{2+e x-\sqrt {4-e^2 x^2}}\right )+\sqrt {4+2 e x} \tanh ^{-1}\left (\frac {2+e x+\sqrt {4-e^2 x^2}}{\sqrt {4+2 e x} \sqrt [4]{4-e^2 x^2}}\right )}{\sqrt [4]{3} e \sqrt {2+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {e x +2}}{\left (-3 e^{2} x^{2}+12\right )^{\frac {1}{4}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 562 vs.
\(2 (208) = 416\).
time = 2.94, size = 562, normalized size = 2.08 \begin {gather*} \frac {12 \, \sqrt {2} \left (\frac {1}{3}\right )^{\frac {1}{4}} {\left (x e^{2} + 2 \, e\right )} \arctan \left (\frac {\sqrt {3} \sqrt {2} \left (\frac {1}{3}\right )^{\frac {3}{4}} {\left (x^{2} e^{5} - 4 \, e^{3}\right )} \sqrt {\frac {3 \, \sqrt {\frac {1}{3}} {\left (x^{2} e^{4} - 4 \, e^{2}\right )} e^{\left (-2\right )} + \sqrt {2} \left (\frac {1}{3}\right )^{\frac {1}{4}} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {3}{4}} \sqrt {x e + 2} - \sqrt {-3 \, x^{2} e^{2} + 12} {\left (x e + 2\right )}}{x^{2} e^{2} - 4}} e^{\left (-3\right )} - x^{2} e^{2} - \sqrt {2} \left (\frac {1}{3}\right )^{\frac {3}{4}} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {3}{4}} \sqrt {x e + 2} + 4}{x^{2} e^{2} - 4}\right ) e^{\left (-1\right )} + 12 \, \sqrt {2} \left (\frac {1}{3}\right )^{\frac {1}{4}} {\left (x e^{2} + 2 \, e\right )} \arctan \left (\frac {\sqrt {3} \sqrt {2} \left (\frac {1}{3}\right )^{\frac {3}{4}} {\left (x^{2} e^{5} - 4 \, e^{3}\right )} \sqrt {\frac {3 \, \sqrt {\frac {1}{3}} {\left (x^{2} e^{4} - 4 \, e^{2}\right )} e^{\left (-2\right )} - \sqrt {2} \left (\frac {1}{3}\right )^{\frac {1}{4}} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {3}{4}} \sqrt {x e + 2} - \sqrt {-3 \, x^{2} e^{2} + 12} {\left (x e + 2\right )}}{x^{2} e^{2} - 4}} e^{\left (-3\right )} + x^{2} e^{2} - \sqrt {2} \left (\frac {1}{3}\right )^{\frac {3}{4}} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {3}{4}} \sqrt {x e + 2} - 4}{x^{2} e^{2} - 4}\right ) e^{\left (-1\right )} - 3 \, \sqrt {2} \left (\frac {1}{3}\right )^{\frac {1}{4}} {\left (x e^{2} + 2 \, e\right )} e^{\left (-1\right )} \log \left (\frac {3 \, {\left (3 \, \sqrt {\frac {1}{3}} {\left (x^{2} e^{4} - 4 \, e^{2}\right )} e^{\left (-2\right )} + \sqrt {2} \left (\frac {1}{3}\right )^{\frac {1}{4}} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {3}{4}} \sqrt {x e + 2} - \sqrt {-3 \, x^{2} e^{2} + 12} {\left (x e + 2\right )}\right )}}{x^{2} e^{2} - 4}\right ) + 3 \, \sqrt {2} \left (\frac {1}{3}\right )^{\frac {1}{4}} {\left (x e^{2} + 2 \, e\right )} e^{\left (-1\right )} \log \left (\frac {3 \, {\left (3 \, \sqrt {\frac {1}{3}} {\left (x^{2} e^{4} - 4 \, e^{2}\right )} e^{\left (-2\right )} - \sqrt {2} \left (\frac {1}{3}\right )^{\frac {1}{4}} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {3}{4}} \sqrt {x e + 2} - \sqrt {-3 \, x^{2} e^{2} + 12} {\left (x e + 2\right )}\right )}}{x^{2} e^{2} - 4}\right ) - 2 \, {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {3}{4}} \sqrt {x e + 2}}{6 \, {\left (x e^{2} + 2 \, e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {3^{\frac {3}{4}} \int \frac {\sqrt {e x + 2}}{\sqrt [4]{- e^{2} x^{2} + 4}}\, dx}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.10, size = 172, normalized size = 0.64 \begin {gather*} -\frac {1}{6} \cdot 3^{\frac {3}{4}} {\left (2 \, {\left (x e + 2\right )} {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {3}{4}} + 2 \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} + 2 \, {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}}\right )}\right ) + 2 \, \sqrt {2} \arctan \left (-\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} - 2 \, {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}}\right )}\right ) - \sqrt {2} \log \left (\sqrt {2} {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}} + \sqrt {\frac {4}{x e + 2} - 1} + 1\right ) + \sqrt {2} \log \left (-\sqrt {2} {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}} + \sqrt {\frac {4}{x e + 2} - 1} + 1\right )\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {e\,x+2}}{{\left (12-3\,e^2\,x^2\right )}^{1/4}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________